<template>
  <div class="sjht-driving-webapp" v-cloak :sjht-version="version">
    <keep-alive v-if="$route.meta.keep">
      <router-view></router-view>
    </keep-alive>
    <router-view v-else></router-view>
  </div>
</template>
<script>
export default {
  data() {
    return {
      version: process.env.VUE_APP_VERSION
    }
  }
}
</script>
<style lang="less">
/* 解决闪烁问题 */
[v-cloak] {
  display: none;
}
* {
  margin: 0;
  padding: 0;
}
</style>
